/**
 * @ChenJunYong<tenjessy@gmail.com>
 * @整站选项卡通用脚本
 * @必须依赖jquery-1.3.2.min.js、jquery.soChange-min.js这两个框架
 */
/**
 * 商品图片切换
 */
$(function(){
	
	$('#J-tab .show').soChange({
		thumbObj:'#J-tab .control li',//导航对象指向标题li
		slideTime:0,
		//thumbOverEvent:false,//关闭鼠标经过切换的动作
		thumbNowClass:'cur',
		autoChange:false,
		clickFalse:false
	});
	
	$('#J-tab-V .show').soChange({
		thumbObj:'#J-tab-V .control li', 
		thumbNowClass:'cur',
		changeTime:8000
	});
	
	$('#J-slide .slide-show li').soChange({
		thumbObj:'#J-slide .slide-control li', 
		thumbNowClass:'cur',
		changeTime:8000
	});
	
	$('#J-slide-1 .slide-show li').soChange({
		thumbObj:'#J-slide-1 .slide-control li', 
		thumbNowClass:'cur',
		changeTime:8000
	});
	
	/* 选择积分时，点击后切换class:cur */
	$(".integration-bar .control li").click(function(){
		$(this).addClass("cur").siblings().removeClass("cur");
		return false;
	});
});